Skip to content

[CALCITE-7498] The parser rejects the example hints from the documentation#4913

Merged
mihaibudiu merged 1 commit intoapache:mainfrom
mihaibudiu:issue7498
May 2, 2026
Merged

[CALCITE-7498] The parser rejects the example hints from the documentation#4913
mihaibudiu merged 1 commit intoapache:mainfrom
mihaibudiu:issue7498

Conversation

@mihaibudiu
Copy link
Copy Markdown
Contributor

Jira Link

CALCITE-7498

Changes Proposed

I have made the grammar a bit richer, accepting for for hints of the form k=v both strings and identifiers for values.
I still had to rewrite the example, since the value cannot be just a numeric literal.

…ation

Signed-off-by: Mihai Budiu <mbudiu@feldera.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 2, 2026

Copy link
Copy Markdown
Member

@asolimando asolimando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I miss in Java the equivalent of runnable examples from the doc like in Python or Rust, that would help catching regressions or implementation/doc drifts like in this case

@mihaibudiu mihaibudiu merged commit 97fd524 into apache:main May 2, 2026
20 checks passed
@mihaibudiu mihaibudiu deleted the issue7498 branch May 2, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants